package com.chengyu.core.mapper;

import com.chengyu.core.model.TyOrderRefund;
import com.chengyu.core.model.TyOrderRefundExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyOrderRefundMapper {
    long countByExample(TyOrderRefundExample example);

    int deleteByExample(TyOrderRefundExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyOrderRefund record);

    int insertSelective(TyOrderRefund record);

    List<TyOrderRefund> selectByExample(TyOrderRefundExample example);

    TyOrderRefund selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TyOrderRefund record, @Param("example") TyOrderRefundExample example);

    int updateByExample(@Param("record") TyOrderRefund record, @Param("example") TyOrderRefundExample example);

    int updateByPrimaryKeySelective(TyOrderRefund record);

    int updateByPrimaryKey(TyOrderRefund record);
}